On the Equivalence of Persistent Term Rewriting Systems and Recursive Program Schemes
نویسنده
چکیده
We introduce Persistent Term Rewriting Systems (PTRSs) by restricting redex-creation during reductions in Orthogonal Term Rewriting Systems (OTRSs 6, 10]). In particular, Recursive (Applicative) Program Schemes (RPSs 4]), considered as TRSs, are persistent. Two PTRSs R and R 0 are syntactically equivalent when any term t has an R-normal form ii it has an R 0-normal form and they coincide. We prove that syntactic equivalence is decidable for PTRSs. Further, we show that the equivalence problem (over all continuous interpretations) is decidable for RPSs with unary basic functions by reducing the question to a decidable number-theory problem. Finally, we show that weak and strong normalization and the reducibil-ity problem also are decidable in PTRSs.
منابع مشابه
On Higher Order Recursive Program Schemes
We deene Higher Order Recursive Program Schemes (HRPSs) by allowing metasubstitutions (as in the-calculus) in right-hand sides of function and quantiier deenitions. A study of several kinds of similarity of redexes makes it possible to lift properties of ((rst order) Recursive Program Schemes to the higher order case. The main result is the decidability of weak normalization in HRPSs, which imm...
متن کاملReduction Orderings and Completion for Rewrite Systems with Binding
We generalise the recursive path ordering (rpo) in order to deal with alpha-equivalence classes of terms, using the nominal approach. We then use the nominal rpo to check termination, and to design a completion procedure, for nominal rewriting systems. Nominal rewriting generalises first-order rewriting by providing support for the specification of binding operators — alpha-equivalence is axiom...
متن کاملOn the Equivalence Problem for Attribute Systems
The authors have shown in Courcelle et al. (1982) that certain attribute systems called strongly noneireular can be translated into recursive program schemes taking derivation trees as arguments and called primitive reeursive schemes with parameters. In particular, the equivalence problem for strongly noncircular attribute systems reduces to the equivalence problem for the latter class of progr...
متن کاملCentrum Voor Wiskunde En Informatica Reportrapport Origin Tracking in Primitive Recursive Schemes Origin Tracking in Primitive Recursive Schemes
Algebraic speciications of programming languages can be used to generate language-speciic programming support tools. Some of these can be obtained in a straightforward way by executing language speciications as term rewriting systems. More advanced tools can be obtained if the term rewriting machinery is extended with origin tracking. Origin tracking is a technique which automatically establish...
متن کاملOrigin Tracking in Primitive Recursive Schemes
Algebraic speciications of programming languages can be used to generate language-speciic programming support tools. Some of these can be obtained in a straightforward way by executing language speciications as term rewriting systems. More advanced tools can be obtained if the term rewriting machinery is extended with origin tracking. Origin tracking is a technique which automatically establish...
متن کامل